package com.cy.stone.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 密码属性
 * @author Wings
 * @since 2023-12-10
 */
@Data
@Component
@ConfigurationProperties(prefix = "stone.password")
public class PasswordProperties {

    /**
     * 密码有效期
     */
    private Integer period;

    /**
     * 允许的密码错误次数
     */
    private Integer pwdErrorCount;
}
